package net.infamily.logic;

import net.infamily.model.Profile;
import net.infamily.model.User;

import com.google.inject.persist.Transactional;

public interface UserLogic {

	@Transactional
	public abstract User login(String email, String password);

	public abstract boolean registerUser(String email, String password);

	@Transactional
	public abstract boolean registerUser(String email, String password, Profile profile);

}